package com.sn.shop.dao;

import com.sn.shop.model.Category;
import com.sn.shop.request.RequestSearchCategory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @auther sn
 * @date 2018/2/5
 * @description 商品种类
 */
public interface CategoryMapper extends CRUDDao<Category> {

    List<Category> findAllList(RequestSearchCategory name);

    List<Category> selectList();

    int batchDelete(List<Integer> ids);
}
